package com.moli.iov.sys.enums;

/**
 * <p>
 * 操作类型枚举
 * </p>
 *
 * @author zql
 * @since 2019/9/6 13:26
 */
public enum OperationTypeEnum {

  SAVE(1, "添加"),

  UPDATE(2, "修改"),

  QUERY(3, "查询"),

  DELETE(4, "删除");

  private int flag;

  private String msg;

  OperationTypeEnum(int flag, String msg) {
    this.flag = flag;
    this.msg = msg;
  }

  public int getFlag() {
    return flag;
  }

}
